package com.boot2.core.service;

import com.boot2.core.conf.TxConditional;
import com.boot2.core.dao.i.MsTokenDao;
import lombok.extern.apachecommons.CommonsLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Conditional;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.stereotype.Service;

/**
 * Service
 * 
 * @author zhangweilin
 * @date 2016-7-15 11:32:39
 * @version V1.0
 * @description  系统异常
 */
@Service
//@ConditionalOnClass({TxConfig.class})
@Conditional(TxConditional.class) //这个也可以
@CommonsLog
@EnableAsync
public class MsTokenService
{
    @Autowired
    MsTokenDao msTokenDao;

}
